package com.xiangban.dao;

import com.xiangban.model.AccompanyWallet;
import com.xiangban.model.AccompanyWalletRecode;
import com.xiangban.model.dto.AccompanyWalletDto;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author ly
 * @date 2021/12/13 9:15
 */
@Repository
public interface AccompanyWalletMapper {
    BigDecimal getWalletInfo(AccompanyWallet accompanyWallet);

    AccompanyWallet getMoneySum(AccompanyWallet accompanyWallet);

    void updateMoney(AccompanyWallet accompanyWallet);

    AccompanyWalletDto getWalletDetails(AccompanyWallet accompanyWallet);

    AccompanyWalletDto getMoneyByMoth(AccompanyWallet accompanyWallet);

    AccompanyWalletDto remainingBalance(AccompanyWallet accompanyWallet);

    List<AccompanyWalletDto> getFiveDetail(AccompanyWallet accompanyWallet);

    AccompanyWalletRecode getnotArriveToOurAccount(AccompanyWallet accompanyWallet);

    void updateMoneySubtract(AccompanyWallet accompanyWallet);
}
